package one.stand.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
/**
 * @author Administrator
 */
@Data
@EqualsAndHashCode
public class BaseModel implements Serializable {
    public static final Integer NO_DEL = 0;
    public static final Integer YES_DEL = 1;

    public static final Integer ONE = 1;
    public static final Integer TWO = 2;

    private int start;
    private int end;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 是否阐述
     */
    private Integer isDel = NO_DEL;
    /**
     * 是否1用户自己添加名片，2企业成员录入名片
     */
    private Integer state = ONE;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 权限id
     */
    private Integer roleId;

    /**
     * 自己的公司id
     */
    private Integer myCompanyId;

    /**
     * 自己的片id
     */
    private Integer myCardId;

}
